//
// Created on 2024/5/20.
//
// Node APIs are not fully supported. To solve the compilation error of the interface cannot be found,
// please include "napi/native_api.h".

#ifndef RONGIMLIBTESTDEMO_NATIVEOBJECT_H
#define RONGIMLIBTESTDEMO_NATIVEOBJECT_H
#include "napi/native_api.h"
#include <string>

namespace rcim {

class NativeObject {
public:
    virtual ~NativeObject() {} // 基类至少需要一个虚函数
    virtual napi_value toValue(napi_env env) = 0;
};

} // namespace rcim
#endif // RONGIMLIBTESTDEMO_NATIVEOBJECT_H
